package com.lbssoft.gpsbd.service;

import com.lbssoft.gpsbd.model.Media;
import com.lbssoft.gpsbd.model.Result;

/**
 * Created by nczc on 2018/8/1.
 */
public interface MediaService {

    /**
     * 写入媒体
     * @param media
     */
  void  add(Media media);

    /**
     * 根据设备id获取媒体信息
     * @param deviceId
     * @return
     */
    Result getMedias(long deviceId, int page, int pageSize);
}
